Assessment of attentional functions by virtual reality tests